getTopicBytes

abstract fun getTopicBytes(): ByteString

The MQTT topic this message will be sent /received on
string topic = 1;

Return

The bytes for topic.